package com.leadnews.mapper;

import com.leadnews.pojo.Level;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leadnews.vo.WemediaVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author 自己
* @description 针对表【level】的数据库操作Mapper
* @createDate 2022-12-03 18:51:57
* @Entity com.leadnews.pojo.Level
*/
public interface LevelMapper extends BaseMapper<Level> {
@Select("select * from level where user_id=#{userId}")
    Level getById(@Param("userId") Object userId);
    @Select("select * from level where user_id=#{userId}")
    WemediaVo finduser(@Param("userId")String userId);
    @Select("select * from level where user_id=#{s}")
    Level finduserid(@Param("s")String s);
}




